package com.ruoyi.common.business.dao;

import com.ruoyi.common.business.entity.YytCompany;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* <p>
    * 店铺的公司信息从表 Mapper 接口
    * </p>
*
* @author huangshun
* @since 2021-12-16
*/
public interface YytCompanyMapper extends BaseMapper<YytCompany> {

    @Select("select * from yyt_company where shop_id = #{shopId}")
    YytCompany getByShopId(String shopId);
}
